<?php
require_once("config_inc.php");

require_once("core/user_api.php");
require_once("core/gui_api.php");

session_start();

$db = new database();
$db->connect();

$gui_api = new gui_api($db);

$user_api = new user_api($db);
$user_data = $user_api->get_user_data($_GET["user_id"]);

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<?php require_once("meta_inc.php"); ?>
<script type="text/javascript" src="<?=SERVER_URL?>js/jquery.validate.min.js"></script>
<script type="text/javascript">

var server_url = '<?=SERVER_URL;?>';

$(document).ready(function() {	
	$('#gallery_container').imagesLoaded(function() {
		$('#gallery_container').masonry({
		   	itemSelector: '.box', columnWidth: 10, cornerStampSelector: '.corner-stamp'
  		});
	});
});
</script>
</head>
<body>
<?php require_once("topbar_inc.php"); ?> 

<div class="wrapper" style="margin-top:70px">    
    
    <div class="default-white-page input-form">
		<table>
			<tr>
				<td></td>				
			</tr>
		</table>
    </div>
            
    <div id="gallery_container" style="margin:20px 0">
		<?php echo $gui_api->insert_share_list(array("type" => SHARE_TYPE_USER, "user_id" => $_GET["user_id"])); ?>
        <div class="clear"></div>
    </div>
        
</div>    

<?php require_once("bottombar_inc.php"); ?>	

</body>
</html>
<?php $db->close(); ?>